package com.topisv.tms.repository.stock.outstorage;

import java.util.List;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;

import com.topisv.tms.entity.stock.oustorage.OutstorageBillItem;

/**
 * 出库单明细_dao
 * @author ch
 *
 */
public abstract interface OutstorageBillItemDao extends PagingAndSortingRepository<OutstorageBillItem, Long>, JpaSpecificationExecutor<OutstorageBillItem>
{

	@Query("select t from OutstorageBillItem t where t.billCode=?")
	List<OutstorageBillItem> loadByBillCode(String billCode);

}